<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>模板字符串</title>
</head>
<body>
    <div id="result"></div>
</body>
</html>
<script type="text/javascript" src="js/jquery-3.3.1.min.js">
</script>
<script type="text/javascript">
    $(document).ready(function()
    {
        let a = '你好'
        $('#result').append(`<h1>${a}</h1>`);

    });
</script>